package com.gupaoedu.baifc.singleton;

/**
 * projectName: baifc_singleton
 * packageName: com.gupaoedu.baifc.singleton
 * Created: 2019/3/12.
 * Auther: baifc
 * Description: 枚举式单例
 */
public enum  EunmSingleton {

    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public static EunmSingleton getInstance() {
        return INSTANCE;
    }
}
